package org.fanximall.erp.system.application.service.handler;

import org.fanximall.erp.common.strategy.AbstractExecuteStrategy;
import org.fanximall.erp.system.application.enums.ExecuteStrategyEnum;
import org.fanximall.erp.system.application.req.UserLoginCommand;
import org.springframework.stereotype.Component;

/**
 * @author :  william
 * @version :  V1.0  created in 2024/4/22
 */
@Component
public class UserLoginCommandHandler implements AbstractExecuteStrategy<UserLoginCommand,String> {
    @Override
    public String mark() {
        return ExecuteStrategyEnum.USER_LOGIN_ACCOUNT.name();
    }

    @Override
    public String executeResp(UserLoginCommand requestParam) {
        return AbstractExecuteStrategy.super.executeResp(requestParam);
    }
}
